In Shell mode, reapply ansi colorization if the mode is re-enabled.
authorChong Yidong <cyd@gnu.org>
Fri, 30 Nov 2012 08:24:53 +0000 (16:24 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 30 Nov 2012 08:24:53 +0000 (16:24 +0800)
commit1bbac3f28ab12b62620530698c1d3ac70050257c
treec78c01e4f8d47895d07142c4996df591de1b112f
parent5687625db80720e5e8dd23d4452c46de54ce454b
In Shell mode, reapply ansi colorization if the mode is re-enabled.

* shell.el (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
(shell-mode): Use them to reapply ansi colorization if Shell mode is re-enabled.
lisp/ChangeLog
lisp/shell.el